<style scoped lang="scss">
.main {
  padding: 2vh;
  background-color: #2d3748;
}
.n-card {
  width: 20vw;
}
</style>

<template>
  <n-spin :show="show">
    <div class="main" :show="show">
      <n-button @click="show = !show"> 点击来转圈 </n-button>
    </div>
  </n-spin>
</template>

<script setup lang="ts">
import { defineComponent, ref } from 'vue'

const show = ref(false)
</script>
